﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <script>
        if (!localStorage.getItem("user") && !localStorage.getItem("user").uname) {
            window.location.href = "/views/login.html";
        }
    </script>
    <link rel="stylesheet" href="/libs/ydui/css/ydui.css?rev=a4b9d6e8c9c1cae7ea4676f911682af7" />
    <link rel="stylesheet" href="/libs/ydui/css/demo.css" />
    <script src="/libs/ydui/js/ydui.flexible.js"></script>
</head>

<body>
    <section class="g-flexview">
        <header class="m-navbar" style="height:40px;padding-top:0px;">
            <div class="navbar-center"><span class="navbar-title">列表APP</span></div>
        </header>

        <div class="g-scrollview">
            <div class="m-slider" data-ydui-slider>
                <div class="slider-wrapper">
                    <div class="slider-item">
                        <a href="#">
                            <img id="demoimage" src="/libs/ydui/images/图5.jpg" style="height:100px;">
                        </a>
                    </div>
                    <div class="slider-item">
                        <a href="#">
                            <img src="/libs/ydui/images/图5.jpg" style="height:100px;">
                        </a>
                    </div>
                    <div class="slider-item">
                        <a href="#">
                            <img src="/libs/ydui/images/图5.jpg" style="height:100px;">
                        </a>
                    </div>
                </div>
                <div class="slider-pagination"></div>
            </div>
            <aside class="demo-tip">
                <p>基础模块</p>
            </aside>
            <div class="m-grids-3">
                <a class="grids-item" href="/views/todolist.html">
                    <div class="grids-icon">
                        <i class="demo-icons-dialog"></i>
                    </div>
                    <div class="grids-txt">便签列表</div>
                </a>

            </div>
            <aside class="demo-tip"></aside>
        </div>
        <footer class="m-tabbar tabbar-fixed">
            <a href="/index.html" class="tabbar-item tabbar-active">
                <span class="tabbar-icon">
                <img src="/libs/ydui/images/工作.png" />
                <span class="badge badge-danger">2</span>
                </span>
                <span class="tabbar-txt">首页</span>
            </a>
            <a href="/views/me.html" class="tabbar-item">
                <span class="tabbar-icon">
                <img src="/libs/ydui/images/我的.png" />
            </span>
                <span class="tabbar-txt">关于我</span>
            </a>

        </footer>

    </section>
    <script src="/libs/ydui/js/jquery2.1.4.min.js"></script>
    <script src="/libs/ydui/js/ydui.js"></script>
</body>

</html>